package com.tql.kingdee.response;

import java.util.Objects;

public class MaterialTransUnitResponse {
    /**
     FMaterialId.fnumber as FMaterialIdfnumber ,FMaterialId.fname as FMaterialIdfname,
     FConvertDenominator,FCurrentUnitId.FNumber as FCurrentUnitIdFNumber,FCurrentUnitId.FName as FCurrentUnitIdFName,
     FConvertNumerator,FDestUnitId.fnumber as FDestUnitIdfnumber,FDestUnitId.fname as FDestUnitIdfname ,
     FMaterialId.Fspecification as FMaterialIdFspecification
     */
    /**
     * 物料编码	FMaterialId
     * 采购计量	FConvertDenominator
     * 采购单位	FCurrentUnitId
     * 核算计量	FConvertNumerator
     * 核算计量单位	FDestUnitId
     * 规格型号	FMaterialId.Fspecification
     * 审核日期	FApproveDate
     */
   //物料编码 名称
    private String FMaterialIdfnumber;
    //物料编码
    private String FMaterialIdfname;
    //采购计量
    private String FConvertDenominator;
    //采购单位名称
    private String FCurrentUnitIdFName;
    //采购单位编码
    private String FCurrentUnitIdFNumber;

    //核算计量
    private String FConvertNumerator;
//核算计量单位编码
    private String FDestUnitIdfnumber;
    //核算计量单位名称
    private String FDestUnitIdfname;
    // 规格型号
    private String FMaterialIdFspecification;
    //审核日期
    private String approveDate;


    public String getApproveDate() {
        return approveDate;
    }

    public void setApproveDate(String approveDate) {
        this.approveDate = approveDate;
    }

    public String getFMaterialIdfnumber() {
        return FMaterialIdfnumber;
    }

    public void setFMaterialIdfnumber(String FMaterialIdfnumber) {
        this.FMaterialIdfnumber = FMaterialIdfnumber;
    }

    public String getFMaterialIdfname() {
        return FMaterialIdfname;
    }

    public void setFMaterialIdfname(String FMaterialIdfname) {
        this.FMaterialIdfname = FMaterialIdfname;
    }

    public String getFConvertDenominator() {
        return FConvertDenominator;
    }

    public void setFConvertDenominator(String FConvertDenominator) {
        this.FConvertDenominator = FConvertDenominator;
    }

    public String getFCurrentUnitIdFName() {
        return FCurrentUnitIdFName;
    }

    public void setFCurrentUnitIdFName(String FCurrentUnitIdFName) {
        this.FCurrentUnitIdFName = FCurrentUnitIdFName;
    }

    public String getFCurrentUnitIdFNumber() {
        return FCurrentUnitIdFNumber;
    }

    public void setFCurrentUnitIdFNumber(String FCurrentUnitIdFNumber) {
        this.FCurrentUnitIdFNumber = FCurrentUnitIdFNumber;
    }

    public String getFConvertNumerator() {
        return FConvertNumerator;
    }

    public void setFConvertNumerator(String FConvertNumerator) {
        this.FConvertNumerator = FConvertNumerator;
    }

    public String getFDestUnitIdfnumber() {
        return FDestUnitIdfnumber;
    }

    public void setFDestUnitIdfnumber(String FDestUnitIdfnumber) {
        this.FDestUnitIdfnumber = FDestUnitIdfnumber;
    }

    public String getFDestUnitIdfname() {
        return FDestUnitIdfname;
    }

    public void setFDestUnitIdfname(String FDestUnitIdfname) {
        this.FDestUnitIdfname = FDestUnitIdfname;
    }

    public String getFMaterialIdFspecification() {
        return FMaterialIdFspecification;
    }

    public void setFMaterialIdFspecification(String FMaterialIdFspecification) {
        this.FMaterialIdFspecification = FMaterialIdFspecification;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        MaterialTransUnitResponse that = (MaterialTransUnitResponse) o;
        return Objects.equals(FMaterialIdfnumber, that.FMaterialIdfnumber) && Objects.equals(FMaterialIdfname, that.FMaterialIdfname) && Objects.equals(FConvertDenominator, that.FConvertDenominator) && Objects.equals(FCurrentUnitIdFName, that.FCurrentUnitIdFName) && Objects.equals(FCurrentUnitIdFNumber, that.FCurrentUnitIdFNumber) && Objects.equals(FConvertNumerator, that.FConvertNumerator) && Objects.equals(FDestUnitIdfnumber, that.FDestUnitIdfnumber) && Objects.equals(FDestUnitIdfname, that.FDestUnitIdfname) && Objects.equals(FMaterialIdFspecification, that.FMaterialIdFspecification);
    }

    @Override
    public int hashCode() {
        return Objects.hash(FMaterialIdfnumber, FMaterialIdfname, FConvertDenominator, FCurrentUnitIdFName, FCurrentUnitIdFNumber, FConvertNumerator, FDestUnitIdfnumber, FDestUnitIdfname, FMaterialIdFspecification);
    }


    @Override
    public String toString() {
        return "MaterialTransUnitResponse{" +
                "FMaterialIdfnumber='" + FMaterialIdfnumber + '\'' +
                ", FMaterialIdfname='" + FMaterialIdfname + '\'' +
                ", FConvertDenominator='" + FConvertDenominator + '\'' +
                ", FCurrentUnitIdFName='" + FCurrentUnitIdFName + '\'' +
                ", FCurrentUnitIdFNumber='" + FCurrentUnitIdFNumber + '\'' +
                ", FConvertNumerator='" + FConvertNumerator + '\'' +
                ", FDestUnitIdfnumber='" + FDestUnitIdfnumber + '\'' +
                ", FDestUnitIdfname='" + FDestUnitIdfname + '\'' +
                ", FMaterialIdFspecification='" + FMaterialIdFspecification + '\'' +
                '}';
    }
}
